<table border="1">
	<tr><th>问题标题</th><th>提问者</th><th>回答数</th><th>解决</th></tr>
	<?php foreach ($questions as $question) : ?>
		<tr><td><?php echo $html->link($question['Question']['title'],"/questions/view/{$question['Question']['id']}") ?></td>
			<td><?php echo $linker->userManageLink($question['User']) ?></td>
			<td><?php echo sizeof($question['Answer']) ?></td>
			<td><?php echo Question::status($question) ?></td>
			<td>
			<?php echo $html->link('删除', '/mange/delete_question'."?id={$question['Question']['id']}") ?>
			</td>
		</tr>
	<?php endforeach ?>
</table>

	<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
	));
	?>	</p>

	<div class="paging">
		<?php echo $this->Paginator->prev('<< ' . __('previous', true), array(), null, array('class'=>'disabled'));?>
	 | 	<?php echo $this->Paginator->numbers();?>
|
		<?php echo $this->Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'disabled'));?>
	</div>